/**
 * Created by 84995 on 2020/1/15.
 */
public class test9 {

    public static void main(String[] args) {



        String[] arrA={"a","b","c","d","e"};
        String[]  arrB=new String[arrA.length];
        int count=0;
        for (int i = arrA.length-1; i >=0 ; i--) {
            arrB[count]=arrA[i];
            count++;
        }

        for (String s : arrB) {
            System.out.print(s+" ");
        }

    }
}
